package com.genesis.yunnanji.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * 创建日期：2018/10/15 001515:09
 * 作者：Kite
 * 描述：
 */
public class DetailsStockBean implements MultiItemEntity {
    /**
     * id : 142
     * stock_code : 00100001113060
     * product_id : 80
     * color_id : 113
     * size_id : 60
     * market_price : 0.00
     * sale_price : 88.00
     * jifen_price : 0
     * nums : 100
     * salenums : 0
     * color_name : 原味
     * size_name : 200g
     */

    private int itemType;//自己添加的属性
    private int spanSize;
    private String title;
    private String id;
    private String stock_code;
    private String product_id;
    private String color_id;
    private String size_id;
    private String market_price;
    private String sale_price;
    private String jifen_price;
    private String nums;
    private String salenums;
    private String color_name;
    private String size_name;

    public DetailsStockBean(int itemType) {
        this.itemType = itemType;
    }

    public DetailsStockBean(int itemType, int spanSize) {
        this.itemType = itemType;
        this.spanSize = spanSize;
    }

    public DetailsStockBean(int itemType, int spanSize, String title) {
        this.itemType = itemType;
        this.spanSize = spanSize;
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getSpanSize() {
        return spanSize;
    }

    public void setSpanSize(int spanSize) {
        this.spanSize = spanSize;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStock_code() {
        return stock_code;
    }

    public void setStock_code(String stock_code) {
        this.stock_code = stock_code;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getColor_id() {
        return color_id;
    }

    public void setColor_id(String color_id) {
        this.color_id = color_id;
    }

    public String getSize_id() {
        return size_id;
    }

    public void setSize_id(String size_id) {
        this.size_id = size_id;
    }

    public String getMarket_price() {
        return market_price;
    }

    public void setMarket_price(String market_price) {
        this.market_price = market_price;
    }

    public String getSale_price() {
        return sale_price;
    }

    public void setSale_price(String sale_price) {
        this.sale_price = sale_price;
    }

    public String getJifen_price() {
        return jifen_price;
    }

    public void setJifen_price(String jifen_price) {
        this.jifen_price = jifen_price;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public String getSalenums() {
        return salenums;
    }

    public void setSalenums(String salenums) {
        this.salenums = salenums;
    }

    public String getColor_name() {
        return color_name;
    }

    public void setColor_name(String color_name) {
        this.color_name = color_name;
    }

    public String getSize_name() {
        return size_name;
    }

    public void setSize_name(String size_name) {
        this.size_name = size_name;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
